<form method="post">
	<div>
		<label>Search by last name or first name 	here:</label>
		<input type="text" name="search" />
	</div>
	<input type="submit" value="Search" />
</form>
<ul style="margin-top: 20px; margin-left: 40px;">
<?php foreach( $results as $result ) : ?>
	<li><?php echo ucwords( strtolower ( $result['lastname'] )) ?>, <?php echo ucwords( strtolower ( $result['firstname'] ) ) ?> (<a href="/messages/create/<?php echo $result['stud_no'] ?>">send pm</a>)</li>
<?php endforeach; ?>
</ul>
